"""
urls
Administrator
2023/12/4
convergence_server
"""

from rest_framework import routers
from django.urls import include, path

# 引入views里面的类
from company.views import *

router = routers.DefaultRouter()

router.register('list', CompanyViewSet, basename='companylist'),
router.register('department', CompanyDepartmentViewSet, basename='departmentlist'),

app_name = 'company'

urlpatterns = [
    path('', include(router.urls)),
]
